QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

SMPTE Wipe Effects (`smpt')

This effect is an implementation of the 34 wipes from ANSI/SMPTE 258M-1993, plus two Apple-defined wipes that choose a random effect. These are a series of masking or "reveal" type wipes which take place between two sources. For full definitions of these 34 wipes and what they look like, please refer to the SMPTE documentation.

Example:

The SMPTE effects take two sources and seven parameters.

Parameters

kParameterEnumList, 1, noChildren,
{
long { "3" }; // No of elements in the enum

long {"1"}; string { "Straight Alpha" };
long {"2"}; string { "Pre-multiply Alpha" };
long {"3"}; string { "Reverse Alpha" };
};
 
 

Name

Code

QTAtom Type

Description

Percentage

`pcnt'

kParameterTypeDataFixed

This parameter is a tween. QuickTime will render the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. If the tween goes from 0 to 100, the effect renders completely. If the tween goes from 25 to 75, for example, rendering begins 25% into the effect and terminates 75% through the effect.

Wipe ID

`wpID'

Enum

The SMPTE ID for the effect. By setting this parameter, you control which of the 47 available wipes is used.

Soft Border

`soft'

BitField

If this parameter contains true , the border drawn around the second source is blurred.

Border Width

`widt'

Fixed

The width, in pixels, of a border which is drawn around the second source.

Border Color

`bclr'

RGBValue

The RGB color of the border around the second source.

Horizontal Repeat

`hori'

Long

The number of horizontal repeats of the effect that are executed in a single source.

Vertical Repeat

`vert'

Long

The number of vertical repeats of the effect that are executed in a single source.

Wipe ID Enum

The Wipe ID parameter can take the following values:

1. Slide horizontal

2. Slide vertical

3. Top left

4. Top right

5. Bottom right

6. Bottom left

7. Four corner

8. Four box

21. Barn vertical

22. Barn horizontal

23. Top center

24. Right center

25. Bottom center

26. Left center

41. Diagonal left down

42. Diagonal right down

43. Vertical bow tie

44. Horizontal bow tie

45. Diagonal left out

46. Diagonal right out

47.Diagonal cross

48.Diagonal box

61.Filled V

62.Filled V right

63.Filled V bottom

64.Filled V left

65.Hollow V

66.Hollow V right

67.Hollow V bottom

68.Hollow V left

71.Vertical zig zag

72.Horizontal zig zag

73.Vertical barn zig zag

74.Horizontal barn zig zag

409. Random Effect - one of the 133 SMPTE effects is chosen at random.

501. Random Wipe - one of the 34 SMPTE wipe effects is chosen at random.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |